#include "KalmanObstacle.h"


KalmanObstacle::KalmanObstacle(obstacle_t* obstacle)
{
	for (short i = 0; i < obstacle->size; i++) {
		_corners.push_back(KalmanObstacleCorner(obstacle, i));
	}
}


KalmanObstacle::~KalmanObstacle(void)
{
}

vector<KalmanObstacleCorner> & KalmanObstacle::corners() {
	return _corners;
}
